package com.shuinfo.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName("user")
public class Member {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String avatar;

    private Integer score;

    @TableField(value = "createdAt")
    private Date createdAt;

    @TableField(value = "updatedAt")
    private Date updatedAt;

    private String phone;

    private String country;

    private String province;

    private String city;
}
